package com.linkage.bookshop.service.inter;

import java.util.List;

import com.linkage.bookshop.model.Comment;

public interface CommentService {
	/* 删除评论 */

	public boolean deleteComment(int commentId);

	/* 列出书籍所有评论 */
	public List<Comment> listBookComments(int bookId);

	/* 插入评论 */
	public boolean insert(String username, int bookId, String content, int grade);
	
	//列出评论并分页，每页固定数目，8
	public List<Comment> listBookComments(int bookId, int pageNum);
}
